package com.css.fxfzypg.modules.model.service;

import com.css.fxfzypg.modules.model.entity.IntensityAttenuation;
import com.css.fxfzypg.modules.model.vo.IntensityAttenuationVO;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

/**
 * @author DBJ
 */
public interface IntensityAttenuationService {
    Map<String, Object> getPage(IntensityAttenuationVO vo, int curPage, int pageSize);

    Map<String, Object> getPageForXczh(IntensityAttenuationVO vo, int curPage, int pageSize);

    IntensityAttenuation getModelById(String id);

    IntensityAttenuation getDefaultModel();

    IntensityAttenuation getDefaultModelByModelName(String modelName);

    IntensityAttenuation getModelByIdForCopy(String id);

    List<IntensityAttenuation> getByDivision(String province, String city, int isNa);

    IntensityAttenuation save(IntensityAttenuation intensityAttenuation) throws ParseException;

    void update(IntensityAttenuation intensityAttenuation);

    void delete(String id);

    IntensityAttenuation getModel1ById(String model1Id);
}
